package io.jft.doll.api

import com.g.base.api.BaseResult
import com.google.gson.JsonObject
import io.jft.doll.room.entity.remote.GameHistoryListREntity
import io.reactivex.Observable
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * Created by G on 2017/12/5 0005.
 */
interface GameHistoryApi {
    @POST("gameHistory/list")
    fun gameHistoryList(@Body jsonObject: JsonObject): Observable<BaseResult<List<GameHistoryListREntity>?>>

    @POST("gameHistory/feedback")
    fun feedBack(@Body jsonObject: JsonObject): Observable<BaseResult<Any?>>
}